<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of file
 *
 * @author n1kolyan
 */
class file extends CActiveRecord
{
    public static function model($className = __CLASS__) {
        return parent::model($className);
    }

    public function tableName() {
        return 'file';
    }

    public function relations() {
        return array(
          'sell'=>array(self::HAS_MANY,'sell','id_filr'),
        );
    }
}
?>
